package com.xja.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xja.mapper.BlogusersMapper;
import com.xja.entity.Blogusers;
import com.xja.service.BlogusersService;
@Service
public class BlogusersServiceImpl implements BlogusersService{

    @Resource
    private BlogusersMapper blogusersMapper;

    @Override
    public int deleteByPrimaryKey(Integer uid) {
        return blogusersMapper.deleteByPrimaryKey(uid);
    }

    @Override
    public int insert(Blogusers record) {
        return blogusersMapper.insert(record);
    }

    @Override
    public int insertSelective(Blogusers record) {
        return blogusersMapper.insertSelective(record);
    }

    @Override
    public Blogusers selectByPrimaryKey(Integer uid) {
        return blogusersMapper.selectByPrimaryKey(uid);
    }

    @Override
    public int updateByPrimaryKeySelective(Blogusers record) {
        return blogusersMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Blogusers record) {
        return blogusersMapper.updateByPrimaryKey(record);
    }

}
